package icu.sunway.gushenBlogBackEnd.Service;

import icu.sunway.gushenBlogBackEnd.Entity.View.ResultVO;
import jakarta.mail.MessagingException;

import java.io.UnsupportedEncodingException;

public interface MailService {
    void sendSimpleMail(String to,String title,String content) throws MessagingException, UnsupportedEncodingException;
    ResultVO<Boolean> sendVerifyCode(String to);
    Boolean checkVerifyCode(String to, String toBeCheckedCode);
}
